let a = null, b = 2;
console.log(a ??= b);